package com.example.base.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.base.excetion.GlobalExcetion;
import com.example.base.system.domain.SysDicCategory;
import com.example.base.system.domain.vo.SysDicCategoryVo;

import java.util.List;

/**
 * <p>
 * 字典类别 服务类
 * </p>
 *
 * @author xiong
 * @since 2024-02-19
 */
public interface SysDicCategoryService extends IService<SysDicCategory> {

    public SysDicCategory saveOrUpdate(SysDicCategoryVo vo) throws GlobalExcetion;

    public SysDicCategory saveSysDicCategory(SysDicCategory sysdiccategory) throws GlobalExcetion;

    public SysDicCategory updateSysDicCategoryById(SysDicCategory sysdiccategory) throws GlobalExcetion;

    public List<SysDicCategory> treeList();

    public SysDicCategory getSysDicCategoryByNo(String no);



}
